import events.Event;
import events.IEventListener;


public class CharactersCounter implements IEventListener {

	private int summedCharCount = 0;
	
	@Override
	public void executeEvent( Event event ) {
		summedCharCount += event.getText().length();
		System.out.println( "[CharactersCount] liter w stringu: " + event.getText().length() );
		System.out.println( "[CharactersCount] suma liter: " + summedCharCount );
	}

}
